def assert_common(resp,exp_sta_code,exp_suc,exp_code,exp_msg):
    assert resp.status_code == exp_sta_code
    assert resp.json().get('success') == exp_suc
    assert resp.json().get('code') == exp_code
    assert resp.json().get('message') == exp_msg